package com.woniu.order.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author yellowDocter
 * @since 2022-08-14
 */
@TableName("new_msg")
@ApiModel(value = "NewMsg对象", description = "")
public class NewMsg implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("本表主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("新消息类型")
    private String msgType;

    @ApiModelProperty("新消息数量")
    private Integer msgNum;

    @ApiModelProperty("备注")
    private String remarks;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }
    public Integer getMsgNum() {
        return msgNum;
    }

    public void setMsgNum(Integer msgNum) {
        this.msgNum = msgNum;
    }
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "NewMsg{" +
            "id=" + id +
            ", msgType=" + msgType +
            ", msgNum=" + msgNum +
            ", remarks=" + remarks +
        "}";
    }
}
